const fs = require('fs')
fs.writeFile('./files/3.txt', 'hxj', err => {
    if (err) return console.log('文件错误' + err.message)
    console.log('文件成功')
})